﻿using System.Collections.Generic;
using ShopB2C.Enums;

namespace ShopB2C.ViewModels
{
    /// <summary>
    /// 返回消息 ViewModel
    /// </summary>
    public class MessageViewModel
    {
        /// <summary>
        /// 消息内容集合
        /// </summary>
        public Dictionary<int , string> MessageCollection { get; set; }
        /// <summary>
        /// 消息标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 消息正文 
        /// </summary>
        public string Body { get; set; }
        /// <summary>
        /// 消息状态
        /// </summary>
        public MessageStatus Status { get; set; }
        /// <summary>
        /// 执行操作
        /// </summary>
        public List<string> Operate { get; set; }
        /// <summary>
        /// ActionResult 的类型
        /// </summary>
        public ResultType ResultType { get; set; }
    }
}
